package com.anjubao.parking.municipal.roadside.mapper;

import com.anjubao.parking.municipal.roadside.dto.LotAndSlotDto;
import com.anjubao.parking.municipal.roadside.model.ParkingLotSlot;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

public interface ParkingLotSlotMapper extends BaseMapper<ParkingLotSlot> {

    int resetParkingLotSlot(String newParkingRecordId,String OldParkingRecordId);

    int updateBylotIdAndNum(String parkingRecordId,long parkingLotId,String slotNum);

    LotAndSlotDto getByCodeAndNum(String parkLotCode, String slotNum);
}